import request from '@/utils/request'
let baseUrl =
  process.env.NODE_ENV === 'production' ? '/api/dashboard' : 'galaxy'
export const dashboard = (data?: any) =>
  request({
    baseURL: baseUrl,
    url: '/dashboard/index',
    method: 'post',
    data
  })
